<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>社交网站友情链接导航展示</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
  
  <style>
    :root {
      --primary: #3b82f6;
      --primary-light: #eff6ff;
      --secondary: #64748b;
      --light: #f8fafc;
      --dark: #1e293b;
      --border-color: #e2e8f0;
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: #f5f7fa;
      padding: 30px 0;
    }
    
    .container {
      max-width: 1200px;
    }
    
    .section-title {
      text-align: center;
      margin-bottom: 40px;
      color: var(--dark);
    }
    
    .section-title h2 {
      font-weight: 700;
      position: relative;
      display: inline-block;
      padding-bottom: 15px;
    }
    
    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background-color: var(--primary);
    }
    
    .link-section {
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      padding: 25px;
      margin-bottom: 30px;
    }
    
    .link-section h3 {
      font-size: 1.25rem;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border-color);
      color: var(--dark);
    }
    
    /* 网格样式友情链接 */
    .link-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
    }
    
    .link-card {
      display: flex;
      align-items: center;
      padding: 12px 15px;
      border-radius: 6px;
      border: 1px solid var(--border-color);
      transition: all 0.2s;
      text-decoration: none;
      color: var(--dark);
    }
    
    .link-card:hover {
      border-color: var(--primary);
      background-color: var(--primary-light);
      transform: translateY(-2px);
      color: var(--primary);
    }
    
    .link-logo {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      object-fit: cover;
      margin-right: 12px;
      flex-shrink: 0;
    }
    
    .link-info {
      min-width: 0;
    }
    
    .link-name {
      font-weight: 600;
      font-size: 15px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .link-desc {
      font-size: 12px;
      color: var(--secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    /* 标签样式友情链接 */
    .link-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    
    .link-tag {
      display: inline-flex;
      align-items: center;
      padding: 6px 15px;
      background-color: var(--light);
      border-radius: 20px;
      text-decoration: none;
      color: var(--dark);
      font-size: 14px;
      transition: all 0.2s;
    }
    
    .link-tag:hover {
      background-color: var(--primary);
      color: white;
      transform: translateY(-2px);
    }
    
    .link-tag i {
      margin-right: 6px;
      font-size: 12px;
    }
    
    /* 分类样式友情链接 */
    .link-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }
    
    .link-category {
      flex: 1;
      min-width: 250px;
    }
    
    .category-name {
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--primary);
      display: flex;
      align-items: center;
    }
    
    .category-name i {
      margin-right: 8px;
    }
    
    .category-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .category-link {
      margin-bottom: 8px;
    }
    
    .category-link a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      text-decoration: none;
      color: var(--dark);
      font-size: 14px;
      border-bottom: 1px dashed var(--border-color);
      transition: all 0.2s;
    }
    
    .category-link a:hover {
      color: var(--primary);
      padding-left: 5px;
    }
    
    .category-link .link-count {
      font-size: 12px;
      color: var(--secondary);
      background-color: var(--light);
      padding: 1px 8px;
      border-radius: 10px;
    }
    
    /* 图文样式友情链接 */
    .link-featured {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }
    
    .link-featured-card {
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid var(--border-color);
      transition: all 0.3s;
      text-decoration: none;
    }
    
    .link-featured-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .link-featured-img {
      width: 100%;
      height: 140px;
      object-fit: cover;
    }
    
    .link-featured-info {
      padding: 15px;
    }
    
    .link-featured-name {
      font-weight: 600;
      margin-bottom: 5px;
      color: var(--dark);
    }
    
    .link-featured-desc {
      font-size: 13px;
      color: var(--secondary);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    /* 简约文字样式友情链接 */
    .link-simple {
      display: flex;
      flex-wrap: wrap;
      gap: 5px 15px;
    }
    
    .link-simple-item {
      padding: 5px 0;
      text-decoration: none;
      color: var(--secondary);
      font-size: 14px;
      position: relative;
      padding-right: 15px;
    }
    
    .link-simple-item:not(:last-child)::after {
      content: '|';
      position: absolute;
      right: 0;
      color: var(--border-color);
    }
    
    .link-simple-item:hover {
      color: var(--primary);
      text-decoration: underline;
    }
    
    /* 响应式调整 */
    @media (max-width: 768px) {
      .link-section {
        padding: 15px;
      }
      
      .link-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      }
      
      .link-featured {
        grid-template-columns: 1fr;
      }
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="section-title">
      <h2>友情链接导航</h2>
      <p class="mt-3 text-secondary">探索更多优质社交平台与合作伙伴</p>
    </div>
    
    <!-- 1. 网格样式友情链接 -->
    <div class="link-section">
      <h3>热门社交平台</h3>
      <div class="link-grid">
        <a href="#" class="link-card">
          <img src="https://picsum.photos/80/80?random=1" alt="社交平台logo" class="link-logo">
          <div class="link-info">
            <div class="link-name">朋友社交</div>
            <div class="link-desc">真实朋友社交网络</div>
          </div>
        </a>
        
        <a href="#" class="link-card">
          <img src="https://picsum.photos/80/80?random=2" alt="社交平台logo" class="link-logo">
          <div class="link-info">
            <div class="link-name">职场人脉</div>
            <div class="link-desc">专业人士社交平台</div>
          </div>
        </a>
        
        <a href="#" class="link-card">
          <img src="https://picsum.photos/80/80?random=3" alt="社交平台logo" class="link-logo">
          <div class="link-info">
            <div class="link-name">创意空间</div>
            <div class="link-desc">设计师与艺术家社区</div>
          </div>
        </a>
        
        <a href="#" class="link-card">
          <img src="https://picsum.photos/80/80?random=4" alt="社交平台logo" class="link-logo">
          <div class="link-info">
            <div class="link-name">知识星球</div>
            <div class="link-desc">分享知识与见解</div>
          </div>
        </a>
        
        <a href="#" class="link-card">
          <img src="https://picsum.photos/80/80?random=5" alt="社交平台logo" class="link-logo">
          <div class="link-info">
            <div class="link-name">旅行足迹</div>
            <div class="link-desc">旅行者分享社区</div>
          </div>
        </a>
        
        <a href="#" class="link-card">
          <img src="https://picsum.photos/80/80?random=6" alt="社交平台logo" class="link-logo">
          <div class="link-info">
            <div class="link-name">美食部落</div>
            <div class="link-desc">美食爱好者社区</div>
          </div>
        </a>
      </div>
    </div>
    
    <!-- 2. 标签样式友情链接 -->
    <div class="link-section">
      <h3>兴趣社交平台</h3>
      <div class="link-tags">
        <a href="#" class="link-tag">
          <i class="fa fa-music"></i>音乐爱好者
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-book"></i>读书俱乐部
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-camera"></i>摄影社区
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-gamepad"></i>游戏玩家
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-futbol-o"></i>体育爱好者
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-code"></i>程序员社区
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-paint-brush"></i>绘画艺术
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-cutlery"></i>厨艺交流
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-plane"></i>旅行探索
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-heartbeat"></i>健身达人
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-paw"></i>宠物之家
        </a>
        <a href="#" class="link-tag">
          <i class="fa fa-graduation-cap"></i>学习交流
        </a>
      </div>
    </div>
    
    <!-- 3. 分类样式友情链接 -->
    <div class="link-section">
      <h3>分类友情链接</h3>
      <div class="link-categories">
        <div class="link-category">
          <div class="category-name">
            <i class="fa fa-globe"></i>综合社交
          </div>
          <ul class="category-links">
            <li class="category-link">
              <a href="#">
                <span>全球社交网</span>
                <span class="link-count">12k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>同城交友</span>
                <span class="link-count">8k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>校友联系网</span>
                <span class="link-count">5k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>兴趣社交圈</span>
                <span class="link-count">9k+</span>
              </a>
            </li>
          </ul>
        </div>
        
        <div class="link-category">
          <div class="category-name">
            <i class="fa fa-briefcase"></i>职业社交
          </div>
          <ul class="category-links">
            <li class="category-link">
              <a href="#">
                <span>职场人脉圈</span>
                <span class="link-count">7k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>创业伙伴网</span>
                <span class="link-count">3k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>行业交流平台</span>
                <span class="link-count">6k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>人才招聘网</span>
                <span class="link-count">10k+</span>
              </a>
            </li>
          </ul>
        </div>
        
        <div class="link-category">
          <div class="category-name">
            <i class="fa fa-lightbulb-o"></i>创意社交
          </div>
          <ul class="category-links">
            <li class="category-link">
              <a href="#">
                <span>设计师社区</span>
                <span class="link-count">4k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>创作者平台</span>
                <span class="link-count">6k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>艺术展示网</span>
                <span class="link-count">2k+</span>
              </a>
            </li>
            <li class="category-link">
              <a href="#">
                <span>创意市集</span>
                <span class="link-count">3k+</span>
              </a>
            </li>
          </ul>
        </div>
      </div>
    </div>
    
    <!-- 4. 图文样式友情链接 -->
    <div class="link-section">
      <h3>推荐合作伙伴</h3>
      <div class="link-featured">
        <a href="#" class="link-featured-card">
          <img src="https://picsum.photos/600/300?random=20" alt="合作伙伴图片" class="link-featured-img">
          <div class="link-featured-info">
            <div class="link-featured-name">创意工作室平台</div>
            <div class="link-featured-desc">连接创意人才与项目的社交平台，发现更多合作机会</div>
          </div>
        </a>
        
        <a href="#" class="link-featured-card">
          <img src="https://picsum.photos/600/300?random=21" alt="合作伙伴图片" class="link-featured-img">
          <div class="link-featured-info">
            <div class="link-featured-name">全球旅行者社区</div>
            <div class="link-featured-desc">分享旅行体验，结识志同道合的旅行伙伴，探索世界</div>
          </div>
        </a>
        
        <a href="#" class="link-featured-card">
          <img src="https://picsum.photos/600/300?random=22" alt="合作伙伴图片" class="link-featured-img">
          <div class="link-featured-info">
            <div class="link-featured-name">知识分享平台</div>
            <div class="link-featured-desc">专业领域知识分享与交流，连接学习者与专家</div>
          </div>
        </a>
      </div>
    </div>
    
    <!-- 5. 简约文字样式友情链接 -->
    <div class="link-section">
      <h3>快速链接</h3>
      <div class="link-simple">
        <a href="#" class="link-simple-item">社交新闻网</a>
        <a href="#" class="link-simple-item">生活分享平台</a>
        <a href="#" class="link-simple-item">时尚社交圈</a>
        <a href="#" class="link-simple-item">科技爱好者</a>
        <a href="#" class="link-simple-item">教育交流网</a>
        <a href="#" class="link-simple-item">健康生活社区</a>
        <a href="#" class="link-simple-item">亲子社交平台</a>
        <a href="#" class="link-simple-item">汽车爱好者</a>
        <a href="#" class="link-simple-item">房产交流圈</a>
        <a href="#" class="link-simple-item">金融社交平台</a>
        <a href="#" class="link-simple-item">美食分享网</a>
        <a href="#" class="link-simple-item">影视爱好者</a>
      </div>
    </div>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 为所有链接添加点击事件
    document.querySelectorAll('a[href="#"]').forEach(link => {
      link.addEventListener('click', function(e) {
        e.preventDefault();
        const linkName = this.querySelector('.link-name, .link-tag, .category-name + ul a span, .link-featured-name, .link-simple-item')?.textContent || '该链接';
        alert(`正在跳转到：${linkName}`);
      });
    });
  </script>
</body>
</html>
